package cn.myfirefly.moming.common.entity;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import cn.myfirefly.core.entity.BasePO;

@Entity
@Table(name = "mm_data_auth_type")
public class MmDataAuthType extends BasePO implements java.io.Serializable {
		
	/**
	 * 
	 */
	private static final long serialVersionUID = 6809331349304977222L;
	//columns START
	/** id */
	private Integer id;
	/** 权限类型名称 */
	private String typeName;
	/** 权限类型值 */
	private String typeValue;
	//columns END

	/**
	 * id
	 * @return
	 */
	@Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}
	
	/**
	 * id
	 * @param value
	 */
	public void setId(Integer value) {
		this.id = value;
	}
		
	/**
	 * 权限类型名称
	 * @return
	 */
	@Column(name = "type_name", nullable = true)
	public String getTypeName() {
		return this.typeName;
	}
	
	/**
	 * 权限类型名称
	 * @param value
	 */
	public void setTypeName(String value) {
		this.typeName = value;
	}
		
	/**
	 * 权限类型值
	 * @return
	 */
	@Column(name = "type_value", nullable = true)
	public String getTypeValue() {
		return this.typeValue;
	}
	
	/**
	 * 权限类型值
	 * @param value
	 */
	public void setTypeValue(String value) {
		this.typeValue = value;
	}
		
}

